﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace FisheryPlatform.Search.Core.Resource
{
    public interface IResource : IDisposable
    {
        // Methods
        IResource CreateRelative(string relativePath);
        TextReader GetStreamReader();
        TextReader GetStreamReader(Encoding encoding);

        // Properties
        string FileBasePath { get; }
    }
}
